import request from '@/utils/request'

// 查询用户列表
// export function upload(data) {
//   return request({
//     url: '/common/upload',
//     method: 'post',
//     data: data
//   })
// }
export function download(data) {
  return request({
    url: '/common/download',
    method: 'post',
    data: data
  })
}
export function upload(data) {
  return request({
    url: '/system/file/upload',
    method: 'post',
    data: data
  })
}
export function getUpload(data) {
  return request({
    url: '/system/file/download?uuid='+data,
    method: 'get'
  })
}
